package com.jj.buy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


@EnableEurekaClient
@SpringBootApplication
@EnableFeignClients(basePackages= {"com.jj.buy"})
@ComponentScan("com.jj.buy")
public class Star
{
  public static void main(String[] args)
  {
   SpringApplication.run(Star.class, args);
  }
	/*
	 * @Bean public IRule getIRule() { return new RoundRobinRule();//轮询算法 }
	 */
}
